package practise.mulitThreads.EventSystem;

import practise.mulitThreads.EventSystem.entity.Event;

import java.util.AbstractQueue;
import java.util.Queue;

/**
 * Created by angela on 7/27/2014.
 */
public interface EventContainer extends Queue<Event> {
    public void addProducer(ContainerOperator containerOperator);
    public void addConsumer(ContainerOperator containerOperator);
    public void setProducerLimitation(int size);
    public void setConsumerLimitation(int size);
}
